]> dgit.raspbian.org Git - gnome-shell.git/commit
gtk-embed: Handle unmap/map of the embedded window
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 19 Mar 2015 23:06:34 +0000 (00:06 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 22 Mar 2015 08:33:33 +0000 (09:33 +0100)
commit169b00aa64bb644e57cd9c6f66d6cb47eef5e5c2
tree70455ce0f53d1faf986ad2badce1b1ad5d5a7ddf
parentf2c1a416bf8eb47a0dfe8ef8dbd90d971c6803e9
gtk-embed: Handle unmap/map of the embedded window

The current code assumes that an embedded window will correspond to
a single MetaWindow over the entire lifetime of the icon, which is
incorrect - the embedded window is unmanaged on Unmap and a new
MetaWindow will be created the next time the embedded window is
mapped. As we currently ignore the new MetaWindow completely, it
will be shown normally in the scene instead of the embedded clone
as intended.
Fix this by setting up clone and window actor each time the embedded
window is mapped rather than once in shell_gtk_embed_set_window().

https://bugzilla.gnome.org/show_bug.cgi?id=745824
src/shell-gtk-embed.c